/* Cards */
table.cards {
	margin-bottom: 10px;
}
table.cards td {
	overflow: hidden;
	width: 20px;
	padding-top: 50px;
	vertical-align: top;
	height: 200px;
}
table.cards td:last-child {
	padding-right: 30px;
}
table.cards td:hover {
	padding-top: 0;
}
table.cards td.unselected:hover {
	padding-top: 50px;
}
table.cards td.selected {
	padding-top: 0;
}
table.cards td.selected .card-front {
	z-index: 999;
}
table.cards .card-back, table.cards .card-front {
	position: absolute;
	width: 100px;
	height: 150px;
}
table.cards .card-front {
	width: 150px;
	height: 200px;
	display: none;
	border: solid 2px #AAAAAA;
	border-radius: 15px;
	-moz-border-radius: 15px;
	background-color: #FFFFFF;
	text-align: center;
}
table.cards .card-front img {
	width: 100%;
}

/* Card - life cards (smaller than others) */
table.cards td.card-type-life {
	width: 10px;
	height: 145px;
}
table.cards td.card-type-life .card-back, table.cards td.card-type-life .card-front {
	width: 45px;
	height: 95px;
}
table.cards td.card-type-life img.icon {
	width: auto;
	margin: auto;
	display: block;
	margin-top: 25px;
}

/* Card - salary */
table.cards td.card-type-salary {
	font-weight: bold;
}
table.cards td.card-type-salary .spacer {
	height: 20px;
}
table.cards td.card-type-salary .income {
	font-size: 30px;
}
table.cards td.card-type-salary .pay1 {
	margin-top: 20px;
}

/* Card - house */
table.cards td.card-type-house .name {
	font-weight: bold;
}
table.cards td.card-type-house .description {
	font-size: 8px;
	line-height: 90%;
	margin-bottom: 3px;
}
table.cards td.card-type-house .agent {
	font-size: 9px;
	font-weight: bold;
	line-height: 70%;
}
table.cards td.card-type-house .price {
	font-size: 14px;
	font-weight: bold;
}
table.cards td.card-type-house .insurance {
	font-size: 10px;
}

/* Card - stock */
table.cards td.card-type-stock .card-front {
	text-align: left;
}
table.cards td.card-type-stock img.icon {
	position: relative;
	height: 80px;
	width: auto;
	top: 45px;
	left: 28%;
}
table.cards td.card-type-stock img.template {
	position: absolute;
}
